home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / BCWINDOW.ZIP;1 / WINDOWS.H < prev   
Encoding:
C/C++ Source or Header  |  1989-01-23  |  1.4 KB  |  60 lines

  1.  
  2. struct WINDOW
  3. {
  4.     int x;
  5.     int y;
  6.     int len;
  7.     int width;
  8.     int type;
  9.     int border;
  10.     char winback;
  11.     char *atr;
  12.     char *title;
  13.     char *background;
  14.     char *foreground;
  15. };
  16.  
  17.  
  18. void get_video_mode (void);
  19. void f_write  (unsigned int x, unsigned int y, char attr, char *st);
  20.  
  21. char *erase_white_end ( char *st);
  22. char *erase_white_begin ( char *st);
  23.  
  24. char *cen(char *cstr, char *tstr, int fw);
  25.  
  26. void clear_frame (char wincolor, int xtl, int ytl, int winwid, int windep);
  27.  
  28. void goto_xy (int x, int y);
  29.  
  30. void scroll_message (int xl, int xr, int y, char atr, char stopeol, char *mess);
  31.  
  32. char *lj (char *lstr, char *buffer, int fwdth);
  33.  
  34. char *rj (char *rstr, char *buffer, int fwdth);
  35.  
  36. char *copy (char *source, int position, int numchars, char *destin);
  37.  
  38. char *rpt (char *rstr, char *buffer, int repts);
  39.  
  40. void draw_frame (int tlcx, int tlcy, int wide, int len, int lines,
  41.                             char *atr, char *title, char winback);
  42.  
  43. struct WINDOW *push_window (int x, int y, int width, int len, int type, int bor, char *atr,
  44.                             char *title, char winback);
  45.  
  46. void pop (struct WINDOW *window);
  47.  
  48. void push (struct WINDOW *window);
  49.  
  50. void w_printf (struct WINDOW *window, int x, int y, char *str, char atr);
  51.  
  52. void close_wind (struct WINDOW *window);
  53.  
  54. void clr_window (struct WINDOW *window);
  55.  
  56. void cursor_off (void);
  57.  
  58. void cursor_on (void);
  59.  
  60.